package com.kws.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kws.system.domain.SysCompanyMessage;
import com.kws.system.domain.vo.CreateCompanyMessageRq;
import org.springframework.web.multipart.MultipartFile;

public interface SysCompanyMessageService extends IService<SysCompanyMessage> {
    boolean checkLoginCompany(Long userId);

    boolean createCompanyMessage(CreateCompanyMessageRq rq);

    String uploadCompanyFile(MultipartFile file);

    SysCompanyMessage queryCompanyMessageByUserId(Long userId);

    /**
     * 审核
     * @param checkVo
     * @return
     */
//    Object check(CheckVo checkVo);

    /**
     * 商家入驻信息分页
     * @param sysCompanyMessagePo
     * @return
     */
//    Page<SysCompanyMessage> pageList(SysCompanyMessagePo sysCompanyMessagePo);

    /**
     * 商家数据统计
     * @return
     */
    Object statistics();
}
